import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'index',
      component: () => import('@/views/index/index.vue'),
    },
    {
      path: '/resource',
      name: 'resource',
      component: () => import('@/views/resource/index.vue'),
    },
   
    {
      path: '/color-library',
      name: 'color-library',
      component: () => import('@/views/color-library/index.vue'),
    },
   
    {
      path: '/calculator',
      name: 'calculator',
      component: () => import('@/views/calculator/index.vue'),
    },
  ]
})

export default router
